package com.esun.service.mq.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.stereotype.Service;

/**
 * @author John.xiao
 * @date 2021/9/1 13:29
 */
@Slf4j
@Service
public class TemplateListener {

	@StreamListener("input")
	public void receiveInput(String msg){
		log.info(msg);
	}
}
